90513: Function test for xfi:relationship-name

Documentation

Tests of function xfi:relationship-name($relationship as xfi:relationship.type) as xs:QName Depends on xfi:concept-relationships function in order to provide the arc for testing this function.

Owners

Name Affiliation Email Start End
Herm Fischer UBMatrix / Mark V Systems fischer@markv.com 12-12-2008 at 00:00:00

References

http://www.xbrl.org/Specification/XF-PWD-2006-12-07.htm#_Toc152670666

Test Case Variations


V-01 Generic relationship arc A->B name

Documentation

Inputs

  • schema: test.xsd (DTS Discovery starting point) (ID=V01)
  • Function Call: xfi:relationship-name( xfi:concept-relationships( QName('http://abc.com/test','A'), 'http://abc.com/role/test-link-role', 'http://abc.com/arcrole/test-arc-role', 'descendant', xs:nonNegativeInteger(1)) )

    (against file V01)

Outputs

  • Result test: count($result) eq 1 and $result[1] instance of xs:QName and $result[1] eq QName('http://abc.com/test','testArc')

Revisions

Name On Details
Herm Fischer 16-09-2010 at 00:00:00 Created the test case in original form.